package com.od.mapper;

import com.od.entity.Interview;
import com.od.entity.Occupation;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Time;
import java.sql.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface InterviewMapper {
    public List<Interview> selectAllInterviews();

    public int insertInterview(Interview interview);

    public List<Interview> selectBySeekerId(Integer interviewSeeker);

    public int deleteById(int interviewId);

    public int updateInterview(Interview interview);

    public List<Interview> selectByEnterpriseId(Integer interviewEnterprise);

    List<Map<String, Object>> selectInterviewInfo(int interviewEnterprise);

    List<Map<String, Object>> selectInterviewInfoIn(int interviewSeeker);
}
